package org.bingo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author CY
 * @since 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BingoVideo对象", description="")
@NoArgsConstructor
@AllArgsConstructor
public class BingoVideo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "视频ID")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "发布者ID")
    private String upId;

    @ApiModelProperty(value = "审核者ID")
    private String managerId;

    @ApiModelProperty(value = "发布时间")
    private Date upTime;

    @ApiModelProperty(value = "是否审核，1已审核，2未审核")
    private Boolean isCheck;

    @ApiModelProperty(value = "视频介绍")
    private String introduce;

    @ApiModelProperty(value = "播放地址")
    @TableField("playUrl")
    private String playUrl;

    @ApiModelProperty(value = "播放次数")
    @TableField("playTime")
    private Integer playTime;

    @ApiModelProperty(value = "点赞数")
    private Integer like;

    @ApiModelProperty(value = "不喜欢")
    private Integer dislike;

    @ApiModelProperty(value = "收藏数")
    private Integer save;

    @ApiModelProperty(value = "视频类型")
    private String type;

    @ApiModelProperty(value = "视频时长")
    private Integer videoTime;


}
